namespace EFMysql
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("www_test.pre_topuplog")]
    public partial class pre_topuplog
    {
        public int id { get; set; }

        public int userid { get; set; }

        [Required]
        [StringLength(50)]
        public string topupmode { get; set; }

        public int cardid { get; set; }

        [Required]
        [StringLength(50)]
        public string card_no { get; set; }

        public decimal amount { get; set; }

        public int createid { get; set; }

        public int createtime { get; set; }

        public int? updatetime { get; set; }

        public int? updateid { get; set; }

        [StringLength(255)]
        public string remark { get; set; }
    }
}
